From: Jo-Philipp Wich Date: Fri, 12 Nov 2021 09:37:49 +0000 (+0100) Subject: luci-base: apply Browser/OS dark mode preference to index redirect page X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=9775b6ab243cff40dcb7aa8f44461d9ede2f2e59;p=project%2Fluci.git luci-base: apply Browser/OS dark mode preference to index redirect page Turn white body, black link into black body, white link if the Browser/OS indicates dark mode preference. Signed-off-by: Jo-Philipp Wich (cherry picked from commit 50af81193c3ae78b23a4573f3fb69136462a883b) --- diff --git a/modules/luci-base/root/www/index.html b/modules/luci-base/root/www/index.html index 35c0ea0d32..bc3c98fe71 100644 --- a/modules/luci-base/root/www/index.html +++ b/modules/luci-base/root/www/index.html @@ -1,11 +1,20 @@ - - - - - -LuCI - Lua Configuration Interface - + + + + + + + LuCI - Lua Configuration Interface +